\documentclass[]{beamer} 
\mode<presentation>

\begin{document}

\begin{frame}{Table of contents}
  Test
\end{frame}

\end{document}
